package com.macro.mall.service.impl;

import com.github.pagehelper.PageHelper;
import com.macro.mall.dto.BmsDictDataParam;
import com.macro.mall.dto.BmsImportantActivitiesSlideshowParam;
import com.macro.mall.mapper.BmsDictDataMapper;
import com.macro.mall.mapper.BmsImportantActivitiesSlideshowMapper;
import com.macro.mall.model.BmsDictData;
import com.macro.mall.model.BmsImportantActivitiesSlideshow;
import com.macro.mall.service.BmsDictDataService;
import com.macro.mall.service.BmsImportantActivitiesSlideshowService;
import com.macro.mall.utils.UserUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;
import java.util.List;


/**
 * 观光车点位图片Service实现类
 * Created by macro on 2018/4/26.
 */
@Service
public class BmsDictDataServiceImpl implements BmsDictDataService {

    @Autowired
    private BmsDictDataMapper bmsDictDataMapper;


    @Transactional
    @Override
    public List<BmsDictData> selectList(BmsDictDataParam bmsDictDataParam) {
        BmsDictData bmsDictData = new BmsDictData();
        BeanUtils.copyProperties(bmsDictDataParam, bmsDictData);
        List<BmsDictData> list = bmsDictDataMapper.selectList(bmsDictData);
        return list;
    }
}
